<!--Header{-->
	<div id="header" style="background:url('<?php echo Yii::app()->baseUrl?>/img_lib/bg/<?php echo empty($dataBgImgName) ? 't0.png' : $dataBgImgName;?>') no-repeat 50% 90%">
		<div id="header_up">
			<p id="header_up_top"><span><?php echo CHtml::link('-Home',Yii::app()->homeUrl);?></span><span><a href="#">-SiteMap</a></span><span><a href="#">-注册</a></span><span><a href="#">-登录</a></span></p>
			<ul id="header_up_down">
		<?php if (!empty($dataNavs)):?>			
			<?php foreach ($dataNavs as $k=>$navItem):?>
				<li <?php echo $k!=0?'class="left_line"':''?>><a href="<?php echo $navItem['url']?>"><?php echo $navItem['title']?></a></li>
			<?php endforeach;?>
		<?php endif;?>
<?php if (0):?>		
				<li><a href="#">研究所</a></li>
				<li class="left_line"><a href="#">兴趣小组</a></li>
<?php endif;?>				
			</ul>
		</div>
		<div id="header_down" class="clear">
		</div>
	</div>
	<!--}Header-->	
	<!--Content{-->
	<div id="content">
		<div id="index_breadcrumbs">
			<p id="index_breadcrumb"><?php echo CHtml::link('Home',Yii::app()->homeUrl)?> >> Welcome</p>
			<ul id="nav_second">
				<li>>></li>
				<?php if (!empty($dataSecondNavs)):?>
				<?php foreach ($dataSecondNavs as $k=>$sNavItem):?>
				<li <?php echo $k!=1 ? 'class="left_line"' : '';?>><?php echo CHtml::link($sNavItem,array('spage','id'=>$k))?></li>
				<?php endforeach;?>
				<?php endif;?>
				<?php if (0):?>
				<li><a href="#">123</a></li>
				<li class="left_line"><a href="#">456</a></li>
				<?php endif;?>
			</ul>
		</div>
		<div id="content_top_left">
		  <div id="gonggao">
			<div id="gonggao_title"></div>
			<ul id="gonggao_content">
			<?php if (!empty($dataGonggao)):?>
			<?php foreach ($dataGonggao as $key=>$gonggao):?>
				<li <?php echo $key!=0 ? 'class="grey_line"' : '';?> ><span class="title"><?php echo CHtml::link($gonggao['news_title'],array('tPage', 'id'=>$gonggao['id']), array('target'=>'_blank'));?></span> <span class="time"><?php echo date('Y-m-d',strtotime($gonggao['create_time']))?></span></li>
			<?php endforeach;?>
			<?php endif;?>
			<?php if (0):?>
				<li>公告1 <span>xxxx-xx</span></li>
				<li class="grey_line">公告1 <span>xxxx-xx</span></li>
			<?php endif;?>
			</ul>
		  </div>
		  <div id="xinwen">
		  	<div id="xinwen_title"></div>
			<ul id="gonggao_content">
			<?php if (!empty($dataNews)):?>
			<?php foreach ($dataNews as $key=>$new):?>
				<li <?php echo $key!=0 ? 'class="grey_line"' : '';?> ><span class="title"><?php echo CHtml::link($new['news_title'], array('tPage', 'id'=>$new['id']), array('target'=>'_blank'));?></span> <span class="time"><?php echo date('Y-m-d',strtotime($new['create_time']))?></span></li>
			<?php endforeach;?>
			<?php endif;?>
			<?php if (0):?>
				<li>公告1 <span>xxxx-xx</span></li>
				<li class="grey_line">公告1 <span>xxxx-xx</span></li>
			<?php endif;?>
			</ul>
		  </div>
		</div>
		<div id="content_top_right">
<div id="coin-slider">
<?php if (!empty($dataImgLib)):?>
<?php foreach ($dataImgLib as $imgLib):?>
  <a href="<?php echo $imgLib['url']?>" target="_blank">
	<img src="<?php echo Yii::app()->baseUrl?>/img_lib/<?php echo $imgLib['img_name']?>" alt="imgLib" />
	<span><?php echo $imgLib['title']?></span>
	</a>
<?php endforeach;?>
<?php endif;?>
<?php if (0):?>		  
		 	<a href="google.com" target="_blank">
			<img src="./css/img_lib.jpg" alt="imgLib" />
			<span>123</span>
			</a>
<?php endif;?>			
		  </div>	
		</div>
		<div class="clear"></div>
		<div id="content_bottom">
			<div id="down_title"></div>
			<ul id="down_content">
			<?php if (!empty($dataDownload)):?>
			<?php foreach ($dataDownload as $k=>$downloadItem):?>
				<li class="icon_<?php echo $downloadItem['file_type'];?>"><a href="<?php echo Yii::app()->baseUrl.'/fileup/'.$downloadItem['filename'];?>"><p class="spage_title"><?php echo $downloadItem['title'];?></p><p><?php echo News::model()->mbSubstr($downloadItem['description'], 80);?></p></a></li>
			<?php endforeach;?>
			<?php endif;?>
			<?php if (0):?>
				<li class="icon_pdf"><p>xxxxxxx</p><p>tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt</p></li>
			<?php endif;?>
			</ul>
			<div class="clear"></div>
		</div>
	</div>